package com.eke.bean;
import java.sql.Timestamp;
import com.jason.dbhelper2.annotations.Column;
import com.jason.dbhelper2.annotations.Table;
@Table("comment")	
public class Comment{
	/**
	 * 评论id
	 *
	 */
	@Column("comment_id")	
	private Integer commentId;
	/**
	 * 文章id
	 *
	 */
	@Column("article_id")	
	private Integer articleId;
	/**
	 * 课时id
	 *
	 */
	@Column("class_hour_id")	
	private Integer classHourId;
	/**
	 * 用户id
	 *
	 */
	@Column("user_id")	
	private Integer userId;
	/**
	 * 是否采纳
	 *
	 */
	@Column("accept_state")	
	private Integer acceptState;
	/**
	 * 评论内容
	 *
	 */
	@Column("comment_content")	
	private String commentContent;
	/**
	 * 评论时间
	 *
	 */
	@Column("comment_time")	
	private Timestamp commentTime;
	/**
	 * 点赞数量
	 *
	 */
	@Column("good_number")	
	private Integer goodNumber;
	/**
	 * 点踩数量
	 *
	 */
	@Column("bad_number")	
	private Integer badNumber;
	/**
	 * 回复id
	 *
	 */
	@Column("reply_id")	
	private Integer replyId;
	/**
	 * 评论状态（0销毁 1未销毁）
	 *
	 */
	@Column("comment_state")	
	private Integer commentState;
	public Comment(){
	}
	public Comment(Integer commentId){
		this.commentId=commentId;
	}
	public Comment(Integer commentId,Integer articleId){
		this.commentId=commentId;
		this.articleId=articleId;
	}
	public Comment(Integer commentId,Integer articleId,Integer classHourId){
		this.commentId=commentId;
		this.articleId=articleId;
		this.classHourId=classHourId;
	}
	public Comment(Integer commentId,Integer articleId,Integer classHourId,Integer userId){
		this.commentId=commentId;
		this.articleId=articleId;
		this.classHourId=classHourId;
		this.userId=userId;
	}
	public Comment(Integer commentId,Integer articleId,Integer classHourId,Integer userId,Integer acceptState){
		this.commentId=commentId;
		this.articleId=articleId;
		this.classHourId=classHourId;
		this.userId=userId;
		this.acceptState=acceptState;
	}
	public Comment(Integer commentId,Integer articleId,Integer classHourId,Integer userId,Integer acceptState,String commentContent){
		this.commentId=commentId;
		this.articleId=articleId;
		this.classHourId=classHourId;
		this.userId=userId;
		this.acceptState=acceptState;
		this.commentContent=commentContent;
	}
	public Comment(Integer commentId,Integer articleId,Integer classHourId,Integer userId,Integer acceptState,String commentContent,Timestamp commentTime){
		this.commentId=commentId;
		this.articleId=articleId;
		this.classHourId=classHourId;
		this.userId=userId;
		this.acceptState=acceptState;
		this.commentContent=commentContent;
		this.commentTime=commentTime;
	}
	public Comment(Integer commentId,Integer articleId,Integer classHourId,Integer userId,Integer acceptState,String commentContent,Timestamp commentTime,Integer goodNumber){
		this.commentId=commentId;
		this.articleId=articleId;
		this.classHourId=classHourId;
		this.userId=userId;
		this.acceptState=acceptState;
		this.commentContent=commentContent;
		this.commentTime=commentTime;
		this.goodNumber=goodNumber;
	}
	public Comment(Integer commentId,Integer articleId,Integer classHourId,Integer userId,Integer acceptState,String commentContent,Timestamp commentTime,Integer goodNumber,Integer badNumber){
		this.commentId=commentId;
		this.articleId=articleId;
		this.classHourId=classHourId;
		this.userId=userId;
		this.acceptState=acceptState;
		this.commentContent=commentContent;
		this.commentTime=commentTime;
		this.goodNumber=goodNumber;
		this.badNumber=badNumber;
	}
	public Comment(Integer commentId,Integer articleId,Integer classHourId,Integer userId,Integer acceptState,String commentContent,Timestamp commentTime,Integer goodNumber,Integer badNumber,Integer replyId){
		this.commentId=commentId;
		this.articleId=articleId;
		this.classHourId=classHourId;
		this.userId=userId;
		this.acceptState=acceptState;
		this.commentContent=commentContent;
		this.commentTime=commentTime;
		this.goodNumber=goodNumber;
		this.badNumber=badNumber;
		this.replyId=replyId;
	}
	public Comment(Integer commentId,Integer articleId,Integer classHourId,Integer userId,Integer acceptState,String commentContent,Timestamp commentTime,Integer goodNumber,Integer badNumber,Integer replyId,Integer commentState){
		this.commentId=commentId;
		this.articleId=articleId;
		this.classHourId=classHourId;
		this.userId=userId;
		this.acceptState=acceptState;
		this.commentContent=commentContent;
		this.commentTime=commentTime;
		this.goodNumber=goodNumber;
		this.badNumber=badNumber;
		this.replyId=replyId;
		this.commentState=commentState;
	}
	/**
	 * 获取评论id
	 */
	public Integer getCommentId(){
		return commentId;
	}
	/**
	 * 设置评论id
	 */
	public void setCommentId(Integer commentId){
		this.commentId=commentId;
	}
	/**
	 * 获取文章id
	 */
	public Integer getArticleId(){
		return articleId;
	}
	/**
	 * 设置文章id
	 */
	public void setArticleId(Integer articleId){
		this.articleId=articleId;
	}
	/**
	 * 获取课时id
	 */
	public Integer getClassHourId(){
		return classHourId;
	}
	/**
	 * 设置课时id
	 */
	public void setClassHourId(Integer classHourId){
		this.classHourId=classHourId;
	}
	/**
	 * 获取用户id
	 */
	public Integer getUserId(){
		return userId;
	}
	/**
	 * 设置用户id
	 */
	public void setUserId(Integer userId){
		this.userId=userId;
	}
	/**
	 * 获取是否采纳
	 */
	public Integer getAcceptState(){
		return acceptState;
	}
	/**
	 * 设置是否采纳
	 */
	public void setAcceptState(Integer acceptState){
		this.acceptState=acceptState;
	}
	/**
	 * 获取评论内容
	 */
	public String getCommentContent(){
		return commentContent;
	}
	/**
	 * 设置评论内容
	 */
	public void setCommentContent(String commentContent){
		this.commentContent=commentContent;
	}
	/**
	 * 获取评论时间
	 */
	public Timestamp getCommentTime(){
		return commentTime;
	}
	/**
	 * 设置评论时间
	 */
	public void setCommentTime(Timestamp commentTime){
		this.commentTime=commentTime;
	}
	/**
	 * 获取点赞数量
	 */
	public Integer getGoodNumber(){
		return goodNumber;
	}
	/**
	 * 设置点赞数量
	 */
	public void setGoodNumber(Integer goodNumber){
		this.goodNumber=goodNumber;
	}
	/**
	 * 获取点踩数量
	 */
	public Integer getBadNumber(){
		return badNumber;
	}
	/**
	 * 设置点踩数量
	 */
	public void setBadNumber(Integer badNumber){
		this.badNumber=badNumber;
	}
	/**
	 * 获取回复id
	 */
	public Integer getReplyId(){
		return replyId;
	}
	/**
	 * 设置回复id
	 */
	public void setReplyId(Integer replyId){
		this.replyId=replyId;
	}
	/**
	 * 获取评论状态（0销毁 1未销毁）
	 */
	public Integer getCommentState(){
		return commentState;
	}
	/**
	 * 设置评论状态（0销毁 1未销毁）
	 */
	public void setCommentState(Integer commentState){
		this.commentState=commentState;
	}
	
		

	@Override
	public String toString() {
		return "Comment [commentId=" + commentId+",articleId=" + articleId+",classHourId=" + classHourId+",userId=" + userId+",acceptState=" + acceptState+",commentContent=" + commentContent+",commentTime=" + commentTime+",goodNumber=" + goodNumber+",badNumber=" + badNumber+",replyId=" + replyId+",commentState=" + commentState+"]";
	}





}